package edu.tongji.engine.db.dao;

import java.util.Set;

import edu.tongji.engine.db.pojo.Task;

public interface ITaskDao {

	public boolean saveTask(Task task);
	
	public boolean deleteTask(Task task);
	
	public boolean deleteTask(Long id);
	
	public Task getTask(Long id);
	
	public Set<Task> getTasksByActor(String name);
	
	public Set<Task> getTasksByActor(Long id);
	
	public boolean deleteAllTasks();
}
